<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ page import="managesystem.Student" %>
<!DOCTYPE html>
<html> 
   <head>
      <meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1">
      <title>Scan ||Tracking</title> 
      <script type="text/javascript" src="http://code.jquery.com/jquery-1.7.min.js"></script>
      <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.css" />
      <script src="http://code.jquery.com/mobile/1.0a4.1/jquery.mobile-1.0a4.1.min.js"></script>
	  
	  
      <%
      	session.setAttribute("fromMobile","true");
   		Student currStud = (Student) session.getAttribute("currStud");
  		if(currStud == null){
  			response.sendRedirect("../index-mobile.jsp");
  		}
  		
   	  %>
   </head> 
	<body> 
		<div data-role="page" id="track">
						<div data-role="header" data-theme="b">
							<h1>Scan || Tracking</h1>
							<a href="/logoutStudent" data-icon="delete" class="ui-btn-left">Logout</a>
							<a href="/index-mobile.jsp" data-ajax="false" data-icon="home" data-iconpos="notext" data-direction="reverse" class="ui-btn-right jqm-home">Home</a>
						</div>
					
						<div data-role="content" data-theme="b">	
							<div data-role="controlgroup">
								<a href="../mobile-inc/school.jsp" data-role="button" data-ajax="false">School</a>
								<a href="../mobile-inc/other.jsp" data-role="button" data-ajax="false">Other</a>
							</div>
						</div>
						<div data-role="footer" data-theme="b">
							<p align="center">Logged in as : <%=currStud.getUsername() %></p>
						</div>
				  	</div>
	</body>
</html>